#! /bin/bash
sqoop export \
--connect "jdbc:mysql://192.168.88.80:3306/online_edu?useUnicode=true&characterEncoding=utf-8" \
--username root \
--password 123456 \
--table customer_signup \
--hcatalog-database edu_dta \
--hcatalog-table customer_signup_dta \
-m 100
wait
sqoop export \
--connect "jdbc:mysql://192.168.88.80:3306/online_edu?useUnicode=true&characterEncoding=utf-8" \
--username root \
--password 123456 \
--table customer_clue \
--hcatalog-database edu_dta \
--hcatalog-table customer_clue_dta \
-m 100
wait
sqoop export \
--connect "jdbc:mysql://192.168.88.80:3306/online_edu?useUnicode=true&characterEncoding=utf-8" \
--username root \
--password 123456 \
--table customer_intention \
--hcatalog-database edu_dta \
--hcatalog-table customer_intention_dta \
-m 100
